<%@page import="shmged.com.shlcm.utils.CmCreateDocHelper"%>
<%@page import="org.json.JSONArray"%>
<%@page import="org.json.JSONObject"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%
     String result = "";
     try{
    	 result = CmCreateDocHelper.getDocByRequest(request);
    
     }catch(Exception e){
    	 e.toString();
    	 JSONObject retJson = new JSONObject();
    	 retJson.put("total", 0);
    	 retJson.put("rows", new JSONArray());
    	 result = retJson.toString();
    	 
     }
     out.println(result);
     out.flush();
%>